 <template>
  <div class="out">
      <div class="dailySongs">
        <div class="arrow">
          <i class="iconfont icon-arrow-left" @click="goHome" style="font-size:0.6rem;"></i>
          <i class="iconfont icon-more" style="font-size:0.5rem;"></i>
        </div>
        <div class="dayInfo">
          <div>
            <span style="font-size:0.9rem;font-weight: bold;">30</span>
            <span>/04</span>
            <p> 查看今日运势</p>
          </div>
          <p class="history">历史日推</p>
        </div>
      </div>
      <dailylist></dailylist>
   </div> 
</template>

<script>
import {useRouter} from 'vue-router'

export default{
  setup() {
    const router=useRouter();
    const goHome=()=>{
      router.go(-1);
    }
    return{
      goHome
    }
  }
}
</script>

<style scoped>
*{
  color: white;
}
.out{
  background: url(../assets/bg.jpg);
  background-size:cover;
  width: 7.5rem;
  height: 13.34rem;
  overflow: auto;
}
.arrow{
  height: 0.25rem;
  display: flex;
  justify-content: space-between;
  padding-top: 0.2rem;
}
.dailySongs{
  width: 7.5rem;
  height: 4.5rem;
  background: url(../assets/ds_img1.png);
  background-size:cover;
}
.dayInfo{
  margin-top: 1.8rem;
  padding-left:0.3rem ;
  display: flex;
  justify-content: space-between;
}
.history{
  background-color: rgba(255,255,255,0.2);
  padding: 0.12rem 0.18rem;
  height: fit-content;
  border-radius: 0.2rem;
  position: relative;
  left: -0.2rem;
  top:0.5rem
}
</style>
